package com.example.entity;

import java.math.BigDecimal;
import java.util.Date;

public class transaction {
    private String name; // 饰品名称
    private BigDecimal price; // 当前价格
    private int volume; // 成交量
    private Date date; // 记录日期

    public transaction() {}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}

